package com.kgcx.system.domain;

import java.util.Date;
import java.util.List;

public class SysRole {
    /**
    * 唯一主键
    */
    private Integer kid;

    /**
    * 角色名称
    */
    private String name;

    /**
    * 角色描述
    */
    private String description;

    /**
    * 是否系统默认角色:0-否，1-是;默认角色不能删除
    */
    private Integer isDefault;

    /**
    * 是否启用:0-未启用,1-启用
    */
    private Integer isEnabled;
    /**
     * 删除状态 1 删除 0 未删除
     */
    private Integer status;

    /**
    * 创建人
    */
    private Integer createId;

    /**
    * 创建时间
    */
    private Date createTime;

    /**
    * 修改人
    */
    private Integer updateId;

    /**
    * 修改时间
    */
    private Date updateTime;

    /**
     * 角色菜单
     */
    private List<SysRoleMenu> menuList;

    public Integer getKid() {
        return kid;
    }

    public void setKid(Integer kid) {
        this.kid = kid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Integer getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(Integer isEnabled) {
        this.isEnabled = isEnabled;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<SysRoleMenu> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<SysRoleMenu> menuList) {
        this.menuList = menuList;
    }
}
